<ion-view title="财务对账">
  <ion-nav-buttons side="left">
    <button class="button back-button buttons icon ion-ios-arrow-left button-clear header-item" nav-direction="back" ui-sref="chooseZd">返回</button>
  </ion-nav-buttons>
    <ion-content>
      <ion-refresher
              pulling-text="下拉刷新..."
              on-refresh="doRefresh()">
      </ion-refresher>
      <ion-list ng-if="showloading == false">
        <h5 ng-if="cwdzData==undefined" style="color: #69717d;text-align: center;margin-top: 50px;">未找到数据</h5>
        <ion-item  ng-if="cwdzData!=undefined" class="cydListItem" style="padding-top: 5px; padding-bottom: 5px;border-top-style: none;border-bottom-style: none;">
          <div class="card list list-inset" >
            <label class="item item-input">
              <p style="font-size: large">{{cwdzData.dwmc}}</p>
              <p style="font-size: large">{{cwdzData.zdmc}}</p>
            </label>
            <label class="item item-input positive-bg light">
              <div class="row">
                <div class="col-33"><p  style="color: white">项目</p></div>
                <div class="col-33"><p  style="color: white">应付</p></div>
                <div class="col-33"><p  style="color: white">已付</p></div>
              </div>
            </label>
            <label class="item item-input">
              <div class="row">
                <div class="col-33"><p>现付</p></div>
                <div  class="col-33"><p>{{cwdzData.yf_xf_ys!=0?(cwdzData.yf_xf_ys+'.00'):''}}</p></div>
                <div  class="col-33"><p>{{cwdzData.yf_xf_sh!=0?(cwdzData.yf_xf_sh+'.00'):''}}</p></div>
              </div>
            </label>
            <label class="item item-input">
              <div class="row">
                <div class="col-33"><p>月结</p></div>
                <div  class="col-33"><p>{{cwdzData.yf_yj_ys!=0?(cwdzData.yf_yj_ys+'.00'):''}}</p></div>
                <div  class="col-33"><p>{{cwdzData.yf_yj_sh!=0?(cwdzData.yf_yj_sh+'.00'):''}}</p></div>
              </div>
            </label>
            <label class="item item-input">
              <div class="row">
                <div class="col-33"><p>回付</p></div>
                <div  class="col-33"><p>{{cwdzData.yf_hf_ys!=0?(cwdzData.yf_hf_ys+'.00'):''}}</p></div>
                <div  class="col-33"><p>{{cwdzData.yf_hf_sh!=0?(cwdzData.yf_hf_sh+'.00'):''}}</p></div>
              </div>
            </label>
            <label class="item item-input">
              <div class="row">
                <div class="col-33"><p>代扣</p></div>
                <div  class="col-33"><p>{{cwdzData.yf_ycdk_ys!=0?(cwdzData.yf_ycdk_ys+'.00'):''}}</p></div>
                <div  class="col-33"><p>{{cwdzData.yf_ycdk_sh!=0?(cwdzData.yf_ycdk_sh+'.00'):''}}</p></div>
              </div>
            </label>
            <label class="item item-input">
              <div class="row">
                <div class="col-33"><p>接货费</p></div>
                <div  class="col-33"><p>{{cwdzData.thf_ys!=0?(cwdzData.thf_ys+'.00'):''}}</p></div>
                <div  class="col-33"><p>{{cwdzData.thf_sh!=0?(cwdzData.thf_sh+'.00'):''}}</p></div>
              </div>
            </label>
            <label class="item item-input">
              <div class="row">
                <div class="col-33"><p>送货费</p></div>
                <div  class="col-33"><p>{{cwdzData.shf_ys!=0?(cwdzData.shf_ys+'.00'):''}}</p></div>
                <div  class="col-33"><p>{{cwdzData.shf_sh!=0?(cwdzData.shf_sh+'.00'):''}}</p></div>
              </div>
            </label>
            <label class="item item-input">
              <div class="row">
                <div class="col-33"><p>保费</p></div>
                <div class="col-33"><p>{{cwdzData.bf_ys!=0?(cwdzData.bf_ys+'.00'):''}}</p></div>
                <div class="col-33"><p>{{cwdzData.bf_sh!=0?(cwdzData.bf_sh+'.00'):''}}</p></div>
              </div>
            </label>
            <label class="item item-input">
              <div class="row">
                <div class="col-33"><p>代收款手续费</p></div>
                <div  class="col-33"><p>{{cwdzData.dsksxf_ys!=0?(cwdzData.dsksxf_ys+'.00'):''}}</p></div>
                <div  class="col-33"><p>{{cwdzData.dsksxf_sh!=0?(cwdzData.dsksxf_sh+'.00'):''}}</p></div>
              </div>
            </label>
            <label class="item item-input positive-bg light">
              <div class="row">
                <div class="col-33"><p  style="color: white">项目</p></div>
                <div class="col-33"><p  style="color: white">应收</p></div>
                <div class="col-33"><p  style="color: white">已收</p></div>
              </div>
            </label>
            <label class="item item-input">
              <div class="row">
                <div class="col-33"><p>信息费</p></div>
                <div  class="col-33"><p>{{cwdzData.xxf_yf!=0?(cwdzData.xxf_yf+'.00'):''}}</p></div>
                <div  class="col-33"><p>{{cwdzData.xxf_sf!=0?(cwdzData.xxf_sf+'.00'):''}}</p></div>
              </div>
            </label>
            <label class="item item-input">
              <div class="row">
                <div class="col-33"><p>运费垫付</p></div>
                <div  class="col-33"><p>{{cwdzData.yf_df_yf!=0?(cwdzData.yf_df_yf+'.00'):''}}</p></div>
                <div  class="col-33"><p>{{cwdzData.yf_df_sf!=0?(cwdzData.yf_df_sf+'.00'):''}}</p></div>
              </div>
            </label>
            <label class="item item-input">
              <div class="row">
                <div class="col-33"><p>代收货款</p></div>
                <div  class="col-33"><p>{{cwdzData.dshk_yf!=0?(cwdzData.dshk_yf+'.00'):''}}</p></div>
                <div  class="col-33"><p>{{cwdzData.dshk_sf!=0?(cwdzData.dshk_sf+'.00'):''}}</p></div>
              </div>
            </label>
            <label class="item item-input">
              <div class="row">
                <div class="col-33"><p>未结</p></div>
                <div class="col-33"><p></p></div>
                <div  class="col-33"><p>{{wjfy!=0?(wjfy+'.00'):''}}</p></div>
              </div>
            </label>
          </div>
        </ion-item>
      </ion-list>
    </ion-content>
</ion-view>
